import java.rmi.*;

public interface RMI extends Remote {
	public String sayHello() throws java.rmi.RemoteException;

	public void remote_print(String s) throws java.rmi.RemoteException;

	public void remote_print(Idea m) throws java.rmi.RemoteException;

        // ex 5 - ficha rmi
        public void publish(Idea m) throws java.rmi.RemoteException;

	public Idea ping_pong(Idea m, User u) throws RemoteException;
}
